import request from '../../request';
import * as apis from '@shared/apis';

export const get = async (id: string): Promise<apis.products.IProduct> => {
    const res = await request.get(`/products/detail/${id}`);
    return res.data;
}; 